'''2018-1-21to see how fast the cursor move in a textthe conclusion is: it's useless to worry about the speed of virtual keyboard(far more faster than you imagine)to think about if your trick work in the computer game'''from win32api import keybd_event as kbimport win32confrom pygame.time import delay#### datas ####KEYUP = win32con.KEYEVENTF_KEYUPKEY_LEFT  = win32con.VK_LEFTKEY_RIGHT = win32con.VK_RIGHTKEY_DOWN  = win32con.VK_DOWNKEY_0     = win32con.VK_NUMPAD0delay(5000)for i in xrange(100):    kb(KEY_RIGHT,0,0,0)    delay(1)    kb(KEY_RIGHT,0,KEYUP,0)    